To Run PowerShell Scripts to Generate the First Schema
Before running these, the AssetWise Storage and Repository should be created. See the AssetWise Implementation Guide for details.
In order for the AssetWise CONNECT Edition Asset Lifecycle Information Management website to work, an EC Schema must be generated.
The preferred method to generate the initial EC Schema is with the supplied PowerShell scripts.
Note: If you encounter
problems with the PowerShell script, the EC Schema may be generated manually.
Refer to
Generating the First AssetWise Schema for more information.
Follow these steps to generate the EC Schema using the PowerShell script.
- On the system where AssetWise is installed, navigate to ec_schemas\FirstSchemaGen.
- Using a text editor, open settings.xml.
- Replace each parameter highlighted in yellow below, with appropriate values.
- On the AssetWise server, open PowerShell.
- Enter the following command: Set-PSSessionConfiguration -Name Microsoft.PowerShell -showSecurityDescriptorUI
- In the Confirm dialog, click Yes.
- Click OK.
- In the Confirm dialog, click Yes.
- Right-click ec_schemas\FirstSchemaGen\generate_schema.ps1 and select Edit. PowerShell opens.
- From the command prompt, type .\generate_schema.ps1 and press <Enter>.